package main

import "fmt"

func test1() {
	var balance = [5]float32{1000.0, 2.0, 2.4, 3.4, 50.0}
	balance2 := [...]float32{1.0, 2.0, 3.0, 4.0, 5.0}
	var balalce3 float32 = balance2[0]
	fmt.Println(balance, balance2, balalce3)
}

func test2() {
	var n [10]int
	var i, j int

	for i = 0; i < 10; i++ {
		n[i] = i + 100
	}
	for j = 0; j < 10; j++ {
		fmt.Printf("Element[%d] = %d\n", j, n[j])
	}
}

func main() {
	test2()
}
